//
//  RankCollectionViewCell.m
//  CookDemo
//
//  Created by lanou3g on 15/8/30.
//  Copyright (c) 2015年 DTR. All rights reserved.
//

#import "RankCollectionViewCell.h"
#import "RankingKitchenInfo.h"
#import "UIImageView+WebCache.h"
#import "KitchenManager.h"

@interface RankCollectionViewCell ()


@end

@implementation RankCollectionViewCell

/** 将RankingKitchenInfo传入cell中 一一对应赋值 菜图 菜名字 */


- (void)setCellWithXiangHaLifeInfo:(XiangHaLifeInfo *)xiangHaLifeInfo{
    
    self.RankLabel.text = xiangHaLifeInfo.title;
    
//    [self.RankImage sd_setImageWithURL:[NSURL URLWithString:xiangHaLifeInfo.imgShow]];
    [self.RankImage sd_setImageWithURL:[NSURL URLWithString:[xiangHaLifeInfo.imgs firstObject]]];
    
    
    
}




@end
